package com.zhuimeng.Application.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

public class HappyBeanHistory {

    @TableId(type = IdType.AUTO)
    private Integer id;
    private Integer uId;
    private Integer type;
    private Integer beanNumber;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;
    private Integer source;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getuId() {
        return uId;
    }

    public void setuId(Integer uId) {
        this.uId = uId;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getBeanNumber() {
        return beanNumber;
    }

    public void setBeanNumber(Integer beanNumber) {
        this.beanNumber = beanNumber;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getSource() {
        return source;
    }

    public void setSource(Integer source) {
        this.source = source;
    }

    @Override
    public String toString() {
        return "HappyBeanHistory{" +
                "id=" + id +
                ", uId=" + uId +
                ", type=" + type +
                ", beanNumber=" + beanNumber +
                ", createTime=" + createTime +
                ", source=" + source +
                '}';
    }
}
